package com.huixiong;

import cn.hutool.json.JSONUtil;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.apache.catalina.core.ApplicationContext;
import org.junit.jupiter.api.Test;

/**
 * <描述>
 *
 * @author timothy.yang cloudwise
 * @since 2021-09-23 14:36
 */
public class hutool_test {
    @Test
    public void test() {
        Student student = new Student("as", 11, "qwgq");
        System.out.println(JSONUtil.toJsonPrettyStr(student));
    }

    @AllArgsConstructor
    @Data
    class Student {
        String name;
        int age;
        String qwfq;

    }
}
